var jade = require('jade');
var path = __dirname + "/form.jade";
var str = require('fs').readFileSync(path,'utf8');
var fn = jade.compile(str,{filename:path,pretty:true});

var user = {
	name:'TJ',
	email:'ajaxj@qq.com',
	city:'shanghai',
	province:'BC'
};

console.log(fn({user:user}));